﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 从数据库选择策略类型
    /// </summary>
    [Description("从数据库选择策略类型")]
    public enum SlaveDatabaseSelectorType
    {
        /// <summary>
        /// 平滑权重
        /// </summary>
        [Description("平滑权重")]
        Weight = 1,

        /// <summary>
        /// 随机
        /// </summary>
        [Description("随机")]
        Random = 2,

        /// <summary>
        /// 顺序轮询
        /// </summary>
        [Description("顺序轮询")]
        Sequence = 3,

    }
}
